package com.codebo.homiematchbackend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.codebo.homiematchbackend.model.entity.Chat;
import com.codebo.homiematchbackend.model.vo.ChatRecordVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 25912
 * @description 针对表【chat(聊天消息)】的数据库操作Mapper
 * @createDate 2025-09-27 16:50:12
 * @Entity com.codebo.homiematchbackend.model.entity.Chat
 */
public interface ChatMapper extends BaseMapper<Chat>
{

    List<Chat> getChatRecord(@Param("userId") Long userId,
                                       @Param("teamIdList") List<Long> teamIdList);


}




